/** @format */

import axios from '@/utils/request';

// 上架记录分页查询
export function upBillPageList(params) {
  return axios.get('/rfid/upBill/page', { params: params });
}

// 上架记录详情
export function getUpBillDetail(billNumber) {
  return axios.get('/rfid/upBill/queryOne', { params: {billNumber: billNumber} });
}

// 档案上架
export function archivesUp(data) {
  return axios.post('/rfid/upBill/archivesUp', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}

// 档案盒上架
export function boxUp(data) {
  return axios.post('/rfid/upBill/boxUp', data, {
    headers: {
      'Content-Type': 'application/json'
    }
  });
}
